// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_HR_PERSON_POSITION
// * CreateDate    : 2012/1/4 10:06:46
// * Creater       : CodeSmith
// * LastChangeDate: 2012/1/4 10:06:46
// * LastChanger   : 2012/1/4 10:06:46
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HrPersonPositionTable : TableInfo
    {
		public const string C_TableName = "HR_PERSON_POSITION";
		
		public const string C_PERSON_ID = "PERSON_ID";
        public const string C_POSITION_ID = "POSITION_ID";
        public const string C_POSITION_TYPE = "POSITION_TYPE";
		public const string C_SUPERVISOR = "SUPERVISOR";
		
		public HrPersonPositionTable()
        {
            _tableName = "HR_PERSON_POSITION";
        }
		
		protected static HrPersonPositionTable _current;
        public static HrPersonPositionTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HrPersonPositionTable();

            _current.Add(C_PERSON_ID, new ColumnInfo(C_PERSON_ID,"PersonId", true, typeof(string)));
            _current.Add(C_POSITION_ID, new ColumnInfo(C_POSITION_ID, "PositionId", true, typeof(string)));
            _current.Add(C_POSITION_TYPE, new ColumnInfo(C_POSITION_TYPE, "PositionType", false, typeof(string)));
            _current.Add(C_SUPERVISOR, new ColumnInfo(C_SUPERVISOR,"Supervisor", false, typeof(string)));
			
		}
		
		public ColumnInfo PERSON_ID
        {
            get { return this[C_PERSON_ID]; }
        }
		
		public ColumnInfo POSITION_ID
        {
            get { return this[C_POSITION_ID]; }
        }

        public ColumnInfo POSITION_TYPE
        {
            get { return this[C_POSITION_TYPE]; }
        }
		
		public ColumnInfo SUPERVISOR
        {
            get { return this[C_SUPERVISOR]; }
        }
		
		
		
	}
}

